package edu.neu.agv_backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("agv_flaw")
public class AgvFlaw {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long taskId;
    private Integer round;
    private String flawType;
    private String flawName;
    private String flawDesc;
    private Double flawDistance;
    private String flawImage;
    private String flawImageUrl;
    private String flawRtsp;
    private Boolean shown;
    private Boolean confirmed;
    private Boolean uploaded;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String remark;
    private Double flawLength;
    private Double flawArea;
    @TableField(value = "\"level\"")
    private String level;
    private Integer countNum;
    private Boolean deleteFlag;
} 